def login(user,pwd,captcha):
    if captcha == '8888':
        if user == 'admin' and pwd == '123456':
            print('登录成功')
        else:
            print('用户名或密码错误')
    else:
        print('验证码或密码错误')